package ooday01;

public class Doctor extends Person{
    String title;
    Doctor(){
    }
    Doctor(String name,int age,String address,String title){
        this.name = name;
        this.age = age;
        this.address = address;
        this.title = title;
    }
    void cut(){
        System.out.println(name+"医生，"+title+"职称，家住在"+address+"，今年"+age+"岁，现在正在给病人做手术中...");
    }


}
